/**
 */
package hu.bme.mit.inf.eclipse.v37zen.awesome.impl;

import hu.bme.mit.inf.eclipse.v37zen.awesome.AwesomePackage;
import hu.bme.mit.inf.eclipse.v37zen.awesome.BottomBox;
import hu.bme.mit.inf.eclipse.v37zen.awesome.Desktop;
import hu.bme.mit.inf.eclipse.v37zen.awesome.LeftBox;
import hu.bme.mit.inf.eclipse.v37zen.awesome.Menu;
import hu.bme.mit.inf.eclipse.v37zen.awesome.RightBox;
import hu.bme.mit.inf.eclipse.v37zen.awesome.TopBox;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EClass;

import org.eclipse.emf.internal.cdo.CDOObjectImpl;

/**
 * <!-- begin-user-doc -->
 * An implementation of the model object '<em><b>Desktop</b></em>'.
 * <!-- end-user-doc -->
 * <p>
 * The following features are implemented:
 * <ul>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.DesktopImpl#getMenus <em>Menus</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.DesktopImpl#getRightBox <em>Right Box</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.DesktopImpl#getLeftBox <em>Left Box</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.DesktopImpl#getBottomBox <em>Bottom Box</em>}</li>
 *   <li>{@link hu.bme.mit.inf.eclipse.v37zen.awesome.impl.DesktopImpl#getTopBox <em>Top Box</em>}</li>
 * </ul>
 * </p>
 *
 * @generated
 */
public class DesktopImpl extends CDOObjectImpl implements Desktop {
	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	protected DesktopImpl() {
		super();
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected EClass eStaticClass() {
		return AwesomePackage.Literals.DESKTOP;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	protected int eStaticFeatureCount() {
		return 0;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@SuppressWarnings("unchecked")
	public EList<Menu> getMenus() {
		return (EList<Menu>)eGet(AwesomePackage.Literals.DESKTOP__MENUS, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public RightBox getRightBox() {
		return (RightBox)eGet(AwesomePackage.Literals.DESKTOP__RIGHT_BOX, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setRightBox(RightBox newRightBox) {
		eSet(AwesomePackage.Literals.DESKTOP__RIGHT_BOX, newRightBox);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public LeftBox getLeftBox() {
		return (LeftBox)eGet(AwesomePackage.Literals.DESKTOP__LEFT_BOX, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setLeftBox(LeftBox newLeftBox) {
		eSet(AwesomePackage.Literals.DESKTOP__LEFT_BOX, newLeftBox);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public BottomBox getBottomBox() {
		return (BottomBox)eGet(AwesomePackage.Literals.DESKTOP__BOTTOM_BOX, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setBottomBox(BottomBox newBottomBox) {
		eSet(AwesomePackage.Literals.DESKTOP__BOTTOM_BOX, newBottomBox);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public TopBox getTopBox() {
		return (TopBox)eGet(AwesomePackage.Literals.DESKTOP__TOP_BOX, true);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public void setTopBox(TopBox newTopBox) {
		eSet(AwesomePackage.Literals.DESKTOP__TOP_BOX, newTopBox);
	}

} //DesktopImpl
